package com.ruoyi.law.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 自定义内容 步骤对象 content_custom_step
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
@Data
public class ContentCustomStep extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long formId;

    /** 表名 */
    @Excel(name = "表名")
    private String formName;

    /** 排序 */
    @Excel(name = "排序")
    private Integer order;

    /** 字段名 */
    @Excel(name = "字段名")
    private String label;
    private String relevanceLabel;

    /** 字段标识 */
    @Excel(name = "字段标识")
    private String vModel;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;
    private List<Map<String,Object>> options;

    /** 类型标识 */
    @Excel(name = "类型标识")
    private String type;

    /** 标识2 */
    @Excel(name = "标识2")
    private String tag;

    /** 提示语 */
    @Excel(name = "提示语")
    private String placeholder;

    /** 类型 0 模版 1自定义 */
    @Excel(name = "类型 0 模版 1自定义")
    private String sign;

    /** 默认值 */
    @Excel(name = "默认值")
    private String defaultValue;

    /** 签字步骤  0 基础信息  1,步骤一 2,步骤二 3,步骤三 */
    @Excel(name = "签字步骤  0 基础信息  1,步骤一 2,步骤二 3,步骤三")
    private Integer stepOrder;

    /** 签字状态  0 未进行 1已通过 2已驳回 */
    @Excel(name = "签字状态  0 未进行 1已通过 2已驳回")
    private Integer stepStatus;

    public void setFormId(Long formId) 
    {
        this.formId = formId;
    }

    public Long getFormId() 
    {
        return formId;
    }
    public void setFormName(String formName) 
    {
        this.formName = formName;
    }

    public String getFormName() 
    {
        return formName;
    }
    public void setOrder(Integer order) 
    {
        this.order = order;
    }

    public Integer getOrder() 
    {
        return order;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setvModel(String vModel) 
    {
        this.vModel = vModel;
    }

    public String getvModel() 
    {
        return vModel;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setPlaceholder(String placeholder) 
    {
        this.placeholder = placeholder;
    }

    public String getPlaceholder() 
    {
        return placeholder;
    }
    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }
    public void setDefaultValue(String defaultValue) 
    {
        this.defaultValue = defaultValue;
    }

    public String getDefaultValue() 
    {
        return defaultValue;
    }
    public void setStepOrder(Integer stepOrder) 
    {
        this.stepOrder = stepOrder;
    }

    public Integer getStepOrder() 
    {
        return stepOrder;
    }
    public void setStepStatus(Integer stepStatus) 
    {
        this.stepStatus = stepStatus;
    }

    public Integer getStepStatus() 
    {
        return stepStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("formId", getFormId())
            .append("formName", getFormName())
            .append("order", getOrder())
            .append("label", getLabel())
            .append("vModel", getvModel())
            .append("typeName", getTypeName())
            .append("type", getType())
            .append("tag", getTag())
            .append("placeholder", getPlaceholder())
            .append("sign", getSign())
            .append("defaultValue", getDefaultValue())
            .append("stepOrder", getStepOrder())
            .append("stepStatus", getStepStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
